﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ImageUpload.aspx.cs" Inherits="Business_Booking_ImageUpload" %>

<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload"
    TagPrefix="Upload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>文件上传</title>
</head>
<body style="background-color:#fcf6ec">
    <form id="form1" runat="server">
    <div>
        <Upload:InputFile ID="InputFile1" runat="server" /><asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="InputFile1"
            ErrorMessage="路径不能为空！">
        </asp:RequiredFieldValidator>
        <br />
        <Upload:ProgressBar ID="ProgressBar1" runat='server'>
        </Upload:ProgressBar>
        <br />
        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
        <img id="image1" runat="server" src="" alt=""/>
        <%--<img id="Img1" runat="server" src="../../Upload/2eedf11c-e42f-4a80-8a1a-01380d4c08ad.gif" alt=""/>--%>
        </div>
    </form>
</body>
</html>
